---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/jesse/Dropbox/Ohio-HallResearch/Code/replication/table_a9.log
  log type:  text
 opened on:  11 Jun 2020, 13:29:58

. 
. ** Presidential results without county pop weights
. 
. use "$path/foreclosures_analysis.dta", clear

. 
. bootstrap _b, rep(1e3) seed(94305) cluster(fips) force: reghdfe pres_vs foreclosure_rate foreclosure_inc, a(fips sy) cluster(fips)
(running reghdfe on estimation sample)

Bootstrap replications (1000)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5 
..................................................    50
..................................................   100
..................................................   150
..................................................   200
..................................................   250
..................................................   300
..................................................   350
..................................................   400
..................................................   450
..................................................   500
..................................................   550
..................................................   600
..................................................   650
..................................................   700
..................................................   750
..................................................   800
..................................................   850
..................................................   900
..................................................   950
..................................................  1000

HDFE Linear regression                          Number of obs     =      9,369
Absorbing 2 HDFE groups                         Replications      =      1,000
                                                Wald chi2(2)      =      81.17
                                                Prob > chi2       =     0.0000
                                                R-squared         =     0.9692
                                                Adj R-squared     =     0.9557
                                                Root MSE          =     3.1510

                                    (Replications based on 2,671 clusters in fips)
----------------------------------------------------------------------------------
                 |   Observed   Bootstrap                         Normal-based
         pres_vs |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
foreclosure_rate |  -.5027124   .0593563    -8.47   0.000    -.6190485   -.3863762
 foreclosure_inc |   .1609715   .0458804     3.51   0.000     .0710476    .2508954
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
            fips |            0            2671           2671 *   | 
              sy |          195             196              1     | 
-------------------------------------------------------------------+
* = fixed effect nested within cluster; treated as redundant for DoF computation

. local b1 = _b[foreclosure_rate]

. local se1 = _se[foreclosure_rate]

. local bint1 = _b[foreclosure_inc]

. local seint1 = _se[foreclosure_inc]

. local n1 = e(N)

. local nclust1 = e(N_clust)

. 
. bootstrap _b, rep(1e3) seed(94305) cluster(fips) force: reghdfe pres_vs foreclosure_rate foreclosure_inc, a(fips popyear) cluster(fips)
(running reghdfe on estimation sample)

Bootstrap replications (1000)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5 
..................................................    50
..................................................   100
..................................................   150
..................................................   200
..................................................   250
..................................................   300
..................................................   350
..................................................   400
..................................................   450
..................................................   500
..................................................   550
..................................................   600
..................................................   650
..................................................   700
..................................................   750
..................................................   800
..................................................   850
..................................................   900
..................................................   950
..................................................  1000

HDFE Linear regression                          Number of obs     =      9,373
Absorbing 2 HDFE groups                         Replications      =      1,000
                                                Wald chi2(2)      =      11.32
                                                Prob > chi2       =     0.0035
                                                R-squared         =     0.9557
                                                Adj R-squared     =     0.9377
                                                Root MSE          =     3.7441

                                    (Replications based on 2,672 clusters in fips)
----------------------------------------------------------------------------------
                 |   Observed   Bootstrap                         Normal-based
         pres_vs |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
foreclosure_rate |  -.1565653    .062221    -2.52   0.012    -.2785162   -.0346144
 foreclosure_inc |   .0046281   .0445334     0.10   0.917    -.0826559     .091912
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
            fips |            0            2672           2672 *   | 
         popyear |           39              40              1     | 
-------------------------------------------------------------------+
* = fixed effect nested within cluster; treated as redundant for DoF computation

. local b2 = _b[foreclosure_rate]

. local se2 = _se[foreclosure_rate]

. local bint2 = _b[foreclosure_inc]

. local seint2 = _se[foreclosure_inc]

. local n2 = e(N)

. local nclust2 = e(N_clust)

. 
. bootstrap _b, rep(1e3) seed(94305) cluster(fips) force: reghdfe pres_vs foreclosure_rate foreclosure_inc, a(i.fips##c.year sy) cluster(fips)
(running reghdfe on estimation sample)

Bootstrap replications (1000)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5 
..................................................    50
..................................................   100
..................................................   150
..................................................   200
..................................................   250
..................................................   300
..................................................   350
..................................................   400
..................................................   450
..................................................   500
..................................................   550
..................................................   600
..................................................   650
..................................................   700
..................................................   750
..................................................   800
..................................................   850
..................................................   900
..................................................   950
..................................................  1000

HDFE Linear regression                          Number of obs     =      9,369
Absorbing 2 HDFE groups                         Replications      =      1,000
                                                Wald chi2(2)      =      39.03
                                                Prob > chi2       =     0.0000
                                                R-squared         =     0.9933
                                                Adj R-squared     =     0.9836
                                                Root MSE          =     1.9164

                                    (Replications based on 2,671 clusters in fips)
----------------------------------------------------------------------------------
                 |   Observed   Bootstrap                         Normal-based
         pres_vs |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
foreclosure_rate |   -.105418   .0498931    -2.11   0.035    -.2032066   -.0076294
 foreclosure_inc |  -.1283128   .0308964    -4.15   0.000    -.1888687   -.0677569
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
            fips |            0            2671           2671 *   | 
     fips#c.year |         2671            2671              0 ?   | 
              sy |          195             196              1     | 
-------------------------------------------------------------------+
? = number of redundant parameters may be higher
* = fixed effect nested within cluster; treated as redundant for DoF computation

. local b3 = _b[foreclosure_rate]

. local se3 = _se[foreclosure_rate]

. local bint3 = _b[foreclosure_inc]

. local seint3 = _se[foreclosure_inc]

. local n3 = e(N)

. local nclust3 = e(N_clust)

. 
. bootstrap _b, rep(1e3) seed(94305) cluster(fips) force: reghdfe pres_vs foreclosure_rate foreclosure_inc, a(i.fips##c.year popyear) cluster(fips)
(running reghdfe on estimation sample)

Bootstrap replications (1000)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5 
..................................................    50
..................................................   100
..................................................   150
..................................................   200
..................................................   250
..................................................   300
..................................................   350
..................................................   400
..................................................   450
..................................................   500
..................................................   550
..................................................   600
..................................................   650
..................................................   700
..................................................   750
..................................................   800
..................................................   850
..................................................   900
..................................................   950
..................................................  1000

HDFE Linear regression                          Number of obs     =      9,373
Absorbing 2 HDFE groups                         Replications      =      1,000
                                                Wald chi2(2)      =      29.46
                                                Prob > chi2       =     0.0000
                                                R-squared         =     0.9862
                                                Adj R-squared     =     0.9676
                                                Root MSE          =     2.6996

                                    (Replications based on 2,672 clusters in fips)
----------------------------------------------------------------------------------
                 |   Observed   Bootstrap                         Normal-based
         pres_vs |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
foreclosure_rate |   -.303618   .0632053    -4.80   0.000    -.4274981   -.1797379
 foreclosure_inc |    .081771   .0416454     1.96   0.050     .0001476    .1633945
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
            fips |            0            2672           2672 *   | 
     fips#c.year |         2672            2672              0 ?   | 
         popyear |           39              40              1     | 
-------------------------------------------------------------------+
? = number of redundant parameters may be higher
* = fixed effect nested within cluster; treated as redundant for DoF computation

. local b4 = _b[foreclosure_rate]

. local se4 = _se[foreclosure_rate]

. local bint4 = _b[foreclosure_inc]

. local seint4 = _se[foreclosure_inc]

. local n4 = e(N)

. local nclust4 = e(N_clust)

. 
. log close
      name:  <unnamed>
       log:  /Users/jesse/Dropbox/Ohio-HallResearch/Code/replication/table_a9.log
  log type:  text
 closed on:  11 Jun 2020, 13:46:33
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
